/**
 * 该文件通过脚本自动生成，请不要手动修改该文件
 * 生成时间：2023-3-16 14:8:44:197
 **/
export default class reviewProject {
  constructor(request) {
    this.request = request;
  }

  /**
   * 取消评审和规划关联
   * @param {string} * planProjectId - 规划项目ID
   * @param {string} * reviewProjectId - 评审项目ID
   */
  post_reviewProject_cancelReviewToPlanProject(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/reviewProject/cancelReviewToPlanProject",
      method: "post",
      params: params,
    });
  }

  /**
   * 规划项目设备复制到评审 -- 进行评审数据复制【传versionid】
   * @param {string} * planVersionId - 规划的versionid
   * @param {string} * reviewVersionId - 评审的versioinid
   */
  post_reviewProject_copyDevicePlanToReview(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/reviewProject/copyDevicePlanToReview",
      method: "post",
      params: params,
    });
  }

  /**
   * 删除评审项目的设备 -- 取消关联或删除时使用
   * @param {string} * reviewVersionId - 评审的versioinid
   */
  post_reviewProject_delReviewDevice(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/reviewProject/delReviewDevice",
      method: "post",
      params: params,
    });
  }

  /**
   * 规划业务规模接口
   * @param {} ghnf - 规划年份
   * @param {} pageNum - 页码
   * @param {} rowNum - 行数
   */
  post_reviewProject_queryPlanBusiness(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/reviewProject/queryPlanBusiness",
      method: "post",
      params: params,
    });
  }

  /**
   * 通过设备查询设备与方案关联关系表
   * @param {} * relas - relas
   */
  post_reviewProject_queryRelaEquipAndPlanByEquip(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/reviewProject/queryRelaEquipAndPlanByEquip",
      method: "post",
      params: params,
    });
  }

  /**
   * 通过方案ID查询设备与方案关联关系表
   * @param {} * planIds - planIds
   */
  post_reviewProject_queryRelaEquipAndPlanByPlanId(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/reviewProject/queryRelaEquipAndPlanByPlanId",
      method: "post",
      params: params,
    });
  }

  /**
   * 将评审和规划关联 -- 进行评审数据复制【传项目id】
   * @param {string} * planProjectId - 规划项目ID【已发布】
   * @param {string} * reviewProjectId - 评审项目ID
   */
  post_reviewProject_relaReviewToPlanProject(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/reviewProject/relaReviewToPlanProject",
      method: "post",
      params: params,
    });
  }

  /**
   * 保存设备与方案关联关系表
   * @param {} * relas - relas
   */
  post_reviewProject_saveRelaEquipAndPlan(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-ghfw/reviewProject/saveRelaEquipAndPlan",
      method: "post",
      params: params,
    });
  }
}
